package com.bit.JVMTest;
class A{
    public A(){
        System.out.println("A()");
    }
    static {
        System.out.println("A.static");
    }
    {
        System.out.println("A.{}");
    }
}
class B extends A{
    public B(){
        System.out.println("B()");
    }
    static {
        System.out.println("B.static");
    }
    {
        System.out.println("B.{}");
    }
}

public class Test1 extends B{
    public static void main(String[] args) {
        System.out.println("开始");
        new B();
        new B();
        System.out.println("结束");
    }
}
